﻿using B.S.Medical.ErrorCode;
using MediatR;

namespace B.S.Medical.Api.Write.Application.Command.Department
{
    public class UpdateDepartmentCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 科室Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 科室名称
        /// </summary>
        public string DepartmentName { get; set; }
        /// <summary>
        /// 所属院区
        /// </summary>
        public int CampusId { get; set; }
        /// <summary>
        /// 父级Id
        /// </summary>
        public int ParetId { get; set; }
        /// <summary>
        /// 科室位置
        /// </summary>
        public string DepartmentAddr { get; set; }
        /// <summary>
        /// 科室状态
        /// </summary>
        public bool Status { get; set; }=false;
    }
}
